package lamda;
//一个简单的类
public class Cat {
    int age;
    String name;
    Cat(int age,String name){
        this.age=age;
        this.name=name;
    }

    @Override
    public String toString() {
        return "Cat{" +
                "age=" + age +
                ", name='" + name + '\'' +
                '}';
    }
}
